// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`A.js 1`] = `
/* @flow */

var m1 = require('1DoesntExist');
import {numVal as numVal1} from '1DoesntExist';
var a_1: number = m1.numVal;
var a_2: number = numVal1;

// Error: 'Exists2' is not a valid module name
//
// This tests that, for haste, the first name_mapper regexp that happens to
// match the given module name string is picked.
var m2 = require('2DoesntExist'); // Error
import {numVal as numVal2} from '3DoesntExist'; // Error
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* @flow */

var m1 = require("1DoesntExist");
import { numVal as numVal1 } from "1DoesntExist";
var a_1: number = m1.numVal;
var a_2: number = numVal1;

// Error: 'Exists2' is not a valid module name
//
// This tests that, for haste, the first name_mapper regexp that happens to
// match the given module name string is picked.
var m2 = require("2DoesntExist"); // Error
import { numVal as numVal2 } from "3DoesntExist"; // Error

`;

exports[`Exists.js 1`] = `
/**
 * @providesModule Exists
 * @flow
 */

module.exports = {
  numVal: 42
};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**
 * @providesModule Exists
 * @flow
 */

module.exports = {
  numVal: 42
};

`;
